package com.neusoft.chanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 子机会表
 * </p>
 *
 * @author liuxp
 * @since 2021-07-12
 */
public class Subchance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 子机会编号
     */
    @TableId(value = "subchance_id", type = IdType.AUTO)
    private Integer subchanceId;

    /**
     * 子机会编码
     */
    private String subchanceCode;

    /**
     * 子机会名称
     */
    private String subchanceName;

    /**
     * 机会类型
     */
    private String subchanceType;

    /**
     * 产品
     */
    private String subchanceProduct;

    /**
     * 事业部
     */
    private String subchanceDept;

    /**
     * 货币
     */
    private String subchanceCurrency;

    /**
     * 金额
     */
    private String subchanceMoney;


    public Integer getSubchanceId() {
        return subchanceId;
    }

    public void setSubchanceId(Integer subchanceId) {
        this.subchanceId = subchanceId;
    }

    public String getSubchanceCode() {
        return subchanceCode;
    }

    public void setSubchanceCode(String subchanceCode) {
        this.subchanceCode = subchanceCode;
    }

    public String getSubchanceName() {
        return subchanceName;
    }

    public void setSubchanceName(String subchanceName) {
        this.subchanceName = subchanceName;
    }

    public String getSubchanceType() {
        return subchanceType;
    }

    public void setSubchanceType(String subchanceType) {
        this.subchanceType = subchanceType;
    }

    public String getSubchanceProduct() {
        return subchanceProduct;
    }

    public void setSubchanceProduct(String subchanceProduct) {
        this.subchanceProduct = subchanceProduct;
    }

    public String getSubchanceDept() {
        return subchanceDept;
    }

    public void setSubchanceDept(String subchanceDept) {
        this.subchanceDept = subchanceDept;
    }

    public String getSubchanceCurrency() {
        return subchanceCurrency;
    }

    public void setSubchanceCurrency(String subchanceCurrency) {
        this.subchanceCurrency = subchanceCurrency;
    }

    public String getSubchanceMoney() {
        return subchanceMoney;
    }

    public void setSubchanceMoney(String subchanceMoney) {
        this.subchanceMoney = subchanceMoney;
    }

    @Override
    public String toString() {
        return "Subchance{" +
        "subchanceId=" + subchanceId +
        ", subchanceCode=" + subchanceCode +
        ", subchanceName=" + subchanceName +
        ", subchanceType=" + subchanceType +
        ", subchanceProduct=" + subchanceProduct +
        ", subchanceDept=" + subchanceDept +
        ", subchanceCurrency=" + subchanceCurrency +
        ", subchanceMoney=" + subchanceMoney +
        "}";
    }
}
